<!DOCTYPE html>
<extend name="Base/base" />
<block name='head'>  
    <meta charset="utf-8">
    <link href="/Public/Index/css/workflow.css" rel="stylesheet" /> 
</block>
<block name="content" > 
    <div class="bd">
        <div class="trip_title">
            <h2 style="font-size: 1.8em">
                【{$info.type_id|getNoticeTypeName}】 {$info.subject}
            </h2>
        </div>
        <div class="work_cells trip_next" style="padding:0.6em">
            <table width="100%" style="border-bottom: 1px solid #CFDDEA">
                <tr>
                    <td width="50%">发布人：{$info.from_id|getChineseName}</td>
                    <td>发布部门：{$info.from_dept|getDeptName}</td>
                </tr>
                <tr>
                    <td width="50%">发布时间：{$info.send_time}</td>
                    <td>发布范围：{$info.to_id|getMoreDeptname}</td>
                </tr>
                <if condition="$info[auditer] neq null">
                    <tr>
                        <td width="50%">审核人：{$info.auditer|getChineseName}</td>
                        <td>审核时间：{$info.audit_date}</td>
                    </tr>
                    <else/>
                    <tr>
                        <td colspan="2"><font color="red"><b>未审核</b></font></td>
                    </tr>
                </if>
            </table>
            <div style="padding: 1em 0.5em; text-indent: 2em">{$info.content}</div>
            <div class="uploadFile" style="margin-top:2%">
                <h3>附件：</h3>
            <foreach name="uploads" item="url" key="key">
                <p>{$key+1}：<a href="{$url.url}" download="{$url.name}">{$url.name}</a></p>
            </foreach>
            </div>
            <div style="margin-top:2%">本文关键词：{$info.keyword|default="无"}</div>
        </div>
        <div class="button" style="text-align: center;">
            <span>
                <input type="hidden" name="id" value="{$id|default=$info['notify_id']}" />
                <a class="pointer btn-submit otherOne" data-id="{$info.notify_id}" data-url="{:U('getOtherNotify',array('type'=>$type,'status'=>'prev'))}" style="background: #5FC6C6">上一篇</a>
                <a class="pointer btn-submit otherOne" data-id="{$info.notify_id}" data-url="{:U('getOtherNotify',array('type'=>$type,'status'=>'next'))}">下一篇</a>
            </span>
        </div>
    </div>
    <p class="bottom"></p>
    <div class="button">
        <a class="am-btn" onclick="history.go(-1)">返 回</a>
    </div>

</block>
<block name="script">
    <script type="text/javascript" src="/Public/Index/js/form.js"></script>
    <script type="text/javascript" src="/Public/Index/js/news.js"></script>
    <script type="text/javascript">
            $(initDelComment());
    </script>
</block>
